The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »
A combo box is a graphical user interface that controls GUI element. It is a combination of a drop-down list or list box and a single-line textbox, allowing the user either to type a value directly into the control or choose from the list of options.
<head>
<title>combobox</title>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("cmb.form.ComboBox");
function setVal1(value) {
console.debug("Selected "+value);
}
</script> </head> <body>
<h2>Combo box</h2>
<select name="country" dojoType="cmb.form.ComboBox" autocomplete="false" value="country"
onChange="setVal1">
<option>India</option>
<option>Pune</option>
<option>Mumbai</option>
<option>Delhi</option>
<option>Chennai</option>
</select>
</body>
</html>
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com